import {request} from "../../utils/Requset";

//订单列表  /order/findList
export const orderList=async (data)=>{
  return await request.postRequest('order/findList',data)
}

//根据Id查询订单详情  order/findById

export const orderDetial=async (data)=>{
  return await request.postRequest('order/findById',data)
}

//订单处理状态：同意  /order/updateAgree
export const agreeOrder=async (data)=>{
  return await request.postRequest('order/updateAgree',data)
}

//订单处理状态：拒绝 /order/updateRefuse
export const refuseOrder=async (data)=>{
  return await request.postRequest('order/updateRefuse',data)
}